﻿using System;
using System.Drawing;
using OpenTK;
using OpenTK.Graphics.OpenGL;

namespace AnimatingHair.Entity
{
    class Light
    {
        private Vector3d position;
        public Vector3d Position
        {
            get { return position; }
            set { position = value; }
        }

        public double Intensity { get; set; }

        internal void Render()
        {
            GL.Disable( EnableCap.Lighting );
            GL.Color3( Color.White );
            GL.PushMatrix();
            GL.Translate( (Vector3)Position );
            Utility.DrawSphere( 0.3, 100, 100 );
            GL.PopMatrix();
            GL.Enable( EnableCap.Lighting );
        }

        internal void Step(double timeStep)
        {
            
        }
    }
}
